<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center cartBilling_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub cartBilling_fd0_0'>
					<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
						<text class='fu-iconfont2  cartBilling_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='cartBilling_fd0_0_c1_c0'>确认订单</text>
					</view>
					<view class='flex flex-wrap align-center cartBilling_fd0_0_c2'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---订单详情flex布局开始-->
			<view class="cartBilling_flex_1">
				<view class='cartBilling_fd1_1'>
					<view class='flex flex-wrap align-center cartBilling_fd1_1_c0'>
						<!-- <image class='cartBilling_fd1_1_c0_c0' mode="aspectFit" :src='STATIC_URL+"592.png"'></image> -->
						<view class='cartBilling_fd1_1_c0_c1'>
							<view class='flex align-center cartBilling_fd1_1_c0_c1_c0'>
								<!-- <text class='cartBilling_fd1_1_c0_c1_c0_c0'>{{addressInfo.label_name}}</text> -->
								<text class='cartBilling_fd1_1_c0_c1_c0_c1'>{{addressInfo.name}}</text>
								<!-- <text class='cartBilling_fd1_1_c0_c1_c0_c2'>(</text>
								<text class='cartBilling_fd1_1_c0_c1_c0_c2' v-if="addressInfo.sex=='1'">先生</text>
								<text class='cartBilling_fd1_1_c0_c1_c0_c2' v-if="addressInfo.sex!='1'">女士</text>
								<text class='cartBilling_fd1_1_c0_c1_c0_c2'>)</text> -->
								<text class='flex-sub cartBilling_fd1_1_c0_c1_c0_c5'>{{addressInfo.mobile}}</text>
							</view>
							<view class='flex align-center'>
								<view class='flex flex-wrap align-center flex-sub'>
									<view>
										<text
											class='flex-sub cartBilling_fd1_1_c0_c1_c1_c0_c0_c0'>{{addressInfo.province}}</text>
										<text
											class='flex-sub cartBilling_fd1_1_c0_c1_c1_c0_c0_c0'>{{addressInfo.city}}</text>
										<text
											class='flex-sub cartBilling_fd1_1_c0_c1_c1_c0_c0_c0'>{{addressInfo.district}}</text>
										<text
											class='flex-sub cartBilling_fd1_1_c0_c1_c1_c0_c0_c0'>{{addressInfo.address}}</text>
									</view>
								</view>
							</view>
						</view>
						<!-- <image class='self-center cartBilling_fd1_1_c0_c2' mode="aspectFit" :src='STATIC_URL+"121.png"'>
						</image> -->
					</view>
					<view class="reserve_phone">
						<view class="reserve_phone_left">预留电话</view>
						<view class="reserve_phone_right">
							<input v-model="mobile" class="reserve_phone_right_input" placeholder="请输入预留电话" placeholder-style="color:#bfbfbf;" maxlength="11" type="text">
							<image :src='STATIC_URL+"2.png"' mode="aspectFill"></image>
						</view>
					</view>
					<view class="agreement_view" @tap.stop="is_talk = !is_talk">
						<image v-if="is_talk" :src='STATIC_URL+"3.png"' mode=""></image>
						<image v-else :src='STATIC_URL+"135.png"' mode=""></image>
						<text>同意并接受</text>
						<text class="agreement_text" @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/tabBar/passwordLogin/agreements?aid=7`">《到店服务协议》</text>
					</view>
					<view class='flex flex-wrap align-center flex-sub cartBilling_fd1_1_c1_c0'>
					</view>
				</view>
				<!-- <view class='flex flex-wrap align-center justify-center flex-sub cartBilling_fd1_0'
					@tap.stop="toSelectAddr()" data-type="navigateTo"
					:data-url="`/pages/yhq/address/address?is_change=1`" v-else>
					<image class='cartBilling_fd1_0_c0' mode="aspectFit" :src='STATIC_URL+"602.png"'></image>
					<text class='cartBilling_fd1_0_c1'>添加收货地址</text>
				</view> -->

				<!-- _____________________ -->
				<view class='flex flex-direction flex-wrap align-stretch cartBilling_fd1_2'>
					<view v-for="item in goods_info" :key="item.id"
						class='flex flex-wrap align-center cartBilling_fd1_2_c0'>
						<image class='cartBilling_fd1_2_c0_c0' mode="aspectFill" :src='item.thumb'></image>
						<view class='flex flex-direction flex-wrap align-stretch flex-sub cartBilling_fd1_2_c0_c1'>
							<text class='cartBilling_fd1_2_c0_c1_c0'>{{item.goods_name}}</text>
							<text class='cartBilling_fd1_2_c0_c1_c1'
								style="text-decoration: line-through;">￥{{item.original_price}}</text>
							<view class='flex flex-wrap align-center cartBilling_fd1_2_c0_c1_c2'>
								<text class='cartBilling_fd1_2_c0_c1_c2_c0'>￥</text>
								<text class=' cartBilling_fd1_2_c0_c1_c2_c1'>
									<text
										class=' cartBilling_price1_fd1_2_c0_c1_c2_c1'>{{ item.shop_price | frontPrice }}</text>
									<text
										class=' cartBilling_price2_fd1_2_c0_c1_c2_c1'>{{ item.shop_price | laterPrice }}</text>
								</text>
								<text class='cartBilling_fd1_2_c0_c1_c2_c2'>x</text>
								<text class='cartBilling_fd1_2_c0_c1_c2_c3'>{{item.num}}</text>
							</view>
						</view>
					</view>
					<view class='flex flex-wrap align-center cartBilling_fd1_2_c1'>
						<text class='cartBilling_fd1_2_c1_c0'>商品总额</text>
						<text class='cartBilling_fd1_2_c1_c1'>￥</text>
						<text class='cartBilling_fd1_2_c1_c2'>{{otherInfo.total_goods_price}}</text>
					</view>
					<view v-if="couponList.length" @click="isShowConpon=true"
						class='flex flex-wrap align-center cartBilling_fd1_2_c1'>
						<text class='cartBilling_fd1_2_c1_c0'>优惠券</text>
						<view class='select_coupon' v-if="sCoupon.money">
							<image :src='STATIC_URL+"12.png"' mode="aspectFill"></image>
							<text>优惠{{sCoupon.money}}元</text>
						</view>
						<text class='cartBilling_fd1_2_c2_c1' v-else>选择优惠券</text>
						<image class='cartBilling_fd1_2_c2_c2' mode="aspectFit" :src='STATIC_URL+"285.png"'></image>
					</view>
					<!-- <view class='flex flex-wrap align-center cartBilling_fd1_2_c1'>
						<text class='cartBilling_fd1_2_c1_c0'>运费</text>
						<text
							class='cartBilling_fd1_2_c3_c1'>{{otherInfo.total_freight_fee ?otherInfo.total_freight_fee+"元":"包邮"}}</text>
						<image class='cartBilling_fd1_2_c2_c2' mode="aspectFit" :src='STATIC_URL+"285.png"'></image>
					</view> -->
					<view class='flex flex-wrap align-center cartBilling_fd1_2_c1' style="margin-bottom: 24rpx;">
						<text class='cartBilling_fd1_2_c1_c0' style="flex-shrink: 0;margin-right: 32rpx;">留言</text>
						<textarea style="flex: 1;text-align: right;font-size: 28rpx;" v-model="liuyan"
							placeholder="建议留言前先和商家沟通确认" :maxlength="-1" auto-height></textarea>
					</view>
					<view class='flex flex-wrap align-center cartBilling_fd1_2_c5'>
						<text class='cartBilling_fd1_2_c5_c0'>共{{otherInfo.total_goods_num||0}}件</text>
						<text class='cartBilling_fd1_2_c5_c1'>合计：</text>
						<text class='cartBilling_fd1_2_c5_c2'>￥</text>
						<text class=' cartBilling_fd1_2_c0_c1_c2_c1'>
							<text class=' cartBilling_price1_fd1_2_c5_c3'>{{ allPrice | frontPrice }}</text>
							<text class=' cartBilling_price2_fd1_2_c5_c3'>{{ allPrice | laterPrice }}</text>
						</text>
					</view>
				</view>
				<view class='flex flex-wrap align-center cartBilling_fd1_3'>
					<text class='cartBilling_fd1_3_c0'>总计：</text>
					<text class='cartBilling_fd1_3_c1'>￥</text>
					<text class=' cartBilling_fd1_3_c2'>
						<text class=' cartBilling_price1_fd1_2_c0_c1_c2_c1'>{{ allPrice | frontPrice }}</text>
						<text class=' cartBilling_price1_fd1_2_c0_c1_c2_c1' style="font-size: 22rpx;">{{ allPrice | laterPrice }}</text>
					</text>
					<button :loading="submitLoading" class='cartBilling_fd1_3_c3' @tap.stop="submit()">提交订单</button>
				</view>
			</view>

			<!---订单详情flex布局结束-->
			<benben-popup v-model="popupShow1686109619915" :mask="true" :mask-close-able="false" mode='center'>
				<!---flex布局flex布局开始-->
				<view class="flex flex-direction align-stretch benben-flex-layout cartBilling_flex_2">
					<view class='flex align-center justify-center cartBilling_fd2_0'>
						<text class='cartBilling_fd2_0_c0'>{{status_msg}}</text>
					</view>
					<view class='flex align-center justify-center'>
						<button class='cartBilling_fd2_1_c0' @tap.stop="backYeFunc()">返回上一页</button>
						<button class='cartBilling_fd2_1_c1' @tap.stop="goAddListFunc()">切换收货地址</button>
					</view>
				</view>

				<!---flex布局flex布局结束-->

			</benben-popup>

			<DescPopup v-model="popupShow1698312822883" tt="运费说明" :desc="otherInfo.freight_desc" />

		</view>

		<Coupon v-model="isShowConpon" :list="couponList" @confirm="couponConfirm" />

	</view>
</template>
<script>
	import DescPopup from '@/pages/grzx/merchanDisedetails/DescPopup.vue'
	import Coupon from './Coupon.vue'
	import {
		validate
	} from '@/common/utils/validate.js'
	import {
		GOOD_TYPE
	} from '../../../const';
	export default {
		components: {
			DescPopup,
			Coupon,
		},


		data() {
			return {
				popupShow1698312822883: false,
				"popupShow1686109619915": false,
				"coupon": "0",
				"dataMessage": {},
				"sex_name": "",
				"dataDetails": {
					"order_sn": "",
					"is_pay": ""
				},
				"status_msg": "",
				"freight_explain": "",
				"liuyan": "",
				"invoiceId": "",
				"username": "",
				"address_id": "223",
				"dataUserInfo": {
					"invite_code": "",
					"address": "",
					"address_code": "",
					"hobby": "",
					"tags": "",
					"id": "",
					"userlevel_id": "",
					"mobile": "",
					"real_name": "",
					"avatar": "",
					"account": "",
					"email": "",
					"birthday": "",
					"gender": "",
					"create_time": "",
					"user_money": "",
					"freeze_money": "",
					"total_consumption_money": "",
					"score": "",
					"_mobile": "",
					"coupon": "",
					"collection_count": "",
					"browse_count": "",
					"total_money": "",
					"certified": "",
					"nickname": "",
					"is_pay_password": "",
					"follow_count": ""
				},
				"goods_id": "10",
				"number": "",
				"activity_id": "",
				"sku_id": "",
				"invoice_id": "",
				// ___
				addressInfo: {},
				goods_info: [],
				couponList: [],
				otherInfo: {},
				isShowConpon: false,
				sCoupon: {},
				submitLoading: false,
				mobile: "",
				is_talk: true,
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			couponPrice() {
				return this.sCoupon.money - 0 || 0
			},
			allPrice() {
				var count = 0;
				count = count + this.otherInfo.total_price - this.couponPrice
				if (count < 0) count = 0;
				return count;
			},
		},
		watch: {},
		onLoad(options) {
			let {
				goods_id,
				address_id,
				number,
				activity_id,
				sku_id,
				invoice_id
			} = options
			if (goods_id !== undefined) this.goods_id = goods_id
			if (address_id !== undefined) this.address_id = address_id
			if (number !== undefined) this.number = number
			if (activity_id !== undefined) this.activity_id = activity_id
			if (sku_id !== undefined) this.sku_id = sku_id
			if (invoice_id !== undefined) this.invoice_id = invoice_id
			// this.yesOrderFunc()
			// this.getUserinfoFunc()
			// this.diyPageListen()


			this.getGoodInfo();
		},
		onUnload() {
			this.diyOffPageListen()
		},
		methods: {
			/** 选择地址 */
			toSelectAddr() {
				uni.navigateTo({
					url: "/pages/yhq/address/address?iss=1",
					events: {
						remove: addr => {
							if (this.addressInfo.address_id == addr.address_id) {
								this.addressInfo = {};
								const info = uni.getStorageSync("CONFIRM_GOOD_INFO")
								uni.setStorageSync("CONFIRM_GOOD_INFO", {
									...info,
									address_id: undefined
								});
								this.getGoodInfo();
							}
						},
						update: addr => {
							const info = uni.getStorageSync("CONFIRM_GOOD_INFO")
							uni.setStorageSync("CONFIRM_GOOD_INFO", {
								...info,
								address_id: addr.address_id
							});
							this.getGoodInfo();
						},
					}
				})
			},
			/** 选中优惠券 */
			couponConfirm(info = {}) {
				this.sCoupon = info;
			},
			/** 可用优惠券优惠券 */
			async validConponList(params = {}) {
				try {
					const res = await this.$post('6551d34a3f659', params);
					this.couponList = res.data || [];
				} catch (e) {
					this.$msg((e || {}).msg || "失败")
				}
			},
			/** 获取商品信息 */
			async getGoodInfo() {
				try {
					const info = uni.getStorageSync("CONFIRM_GOOD_INFO") || {};
					const res = await this.$post('6544dff7168f6', {
						...info,
						goods_info: JSON.stringify(info.goods_info || {})
					});
					const _info = res.data || {};
					this.otherInfo = _info;
					this.addressInfo = _info.address || {};
					this.goods_info = _info.goods_info || [];
					this.validConponList({
						goods_info: JSON.stringify(this.goods_info.map(item => {
							return {
								cart_id: item.cid,
								goods_id: item.id,
								num: item.num,
								sku_id: item.sku_id,
							}
						})),
						money: this.otherInfo.total_price
					});
				} catch (e) {
					this.$msg((e || {}).msg || "失败")
				}
			},
			/** 提交订单 */
			async submit() {
				if (this.submitLoading) return;
				if (!this.addressInfo.address_id) return this.$msg("请选择收货地址");
				if (!this.mobile) return this.$msg("请输入预留电话号码");
				if (!validate(this.mobile, 'phone')) {
					this.$message.info('请输入正确的预留电话号码');
					return false;
				}
				if (!this.is_talk) {
					this.$message.info('请阅读并同意到店服务协议');
					return;
				}
				this.submitLoading = true;
				try {
					const info = uni.getStorageSync("CONFIRM_GOOD_INFO") || {};
					const order_type = GOOD_TYPE.WEN_CHUANG == this.goods_info[0].data_type ? 1 : 2;
					const res = await this.$post('6544e02e00798', {
						mobile: this.mobile,
						goods_info: JSON.stringify(info.goods_info || {}),
						address_id: this.addressInfo.address_id,
						coupon_id: this.sCoupon.coupon_id,
						remark: this.liuyan,
						order_type,
					});
					uni.$emit("UPDATE_CAR_DATA");
					const _info1 = res.data || {};
					uni.redirectTo({
						url: "/pages/xitongs/offerPay/offerPay?order_sn=" + _info1.order_sn + "&order_type=" +
							order_type
					})
				} catch (e) {
					this.$msg((e || {}).msg || "失败")
				}
				this.submitLoading = false;
			},
			//积分商城-下单
			async orderPlaceFunc() {
				let datadataDetails = await this.$api.post(global.apiUrls.post641465fa0b5df, {
					goods_id: this.dataMessage.goods_integral.aid,
					address_id: this.address_id,
					number: this.dataMessage.goods_integral.number,
					payable_money: this.dataMessage.payable_money
				});
				if (datadataDetails.data.code != 1) {
					this.$message.info(datadataDetails.data.msg);
					return
				}
				let infodataDetails = datadataDetails.data;
				this.dataDetails = infodataDetails.data
				if (this.dataDetails.is_pay == '0') { //是否需要调起支付:1 是 0 否
					this.$urouter.redirectTo(`/pages/jf/exchangeSuccessful/exchangeSuccessful`);
				} else {
					this.$urouter.redirectTo(
						`/pages/sy/offerPay/offerPay?order_sn=${this.dataDetails.order_sn}&order_type=4`
					);
				}
			},
			//返回上一页
			backYeFunc() {
				this.popupShow1685773487026 = false;
				this.$urouter.navigateBack(1);
			},
			//修改收货地址
			goAddListFunc() {
				this.popupShow1686109619915 = false;
				this.$urouter.navigateTo(`/pages/yhq/address/address?is_change=1`);
			},
			//获取会员详情信息
			async getUserinfoFunc() {
				//请求方法
				//数据验证

				let datadataUserInfo = await this.$api.get(global.apiUrls.post5c78c4772da97, {

				});

				if (datadataUserInfo.data.code != 1) {
					this.$message.info(datadataUserInfo.data.msg);
					return
				}
				let infodataUserInfo = datadataUserInfo.data;
				this.dataUserInfo = infodataUserInfo.data
			},
			//积分商城-确认订单
			async yesOrderFunc() {
				let datadataMessage = await this.$api.post(global.apiUrls.post6414631bc7cdf, {
					goods_id: this.goods_id,
					address_id: this.address_id
				});
				if (datadataMessage.data.code != 1) {
					if (datadataMessage.data.code == -1) { //code=-1地址超出范围
						this.status_code = -1
						this.status_msg = datadataMessage.data.msg
						this.popupShow1686109619915 = true
						this.dataMessage = datadataMessage.data.data
					} else {
						this.$message.info(datadataMessage.data.msg);
						setTimeout(() => {
							uni.navigateBack()
						}, 1000)
					}
					return
				}
				let info = datadataMessage.data.data
				this.dataMessage = info
				//从上个页面如果没有传地址 从详情里取
				this.address_id = this.address_id ? this.address_id : info.address.aid || 0
			},
			//页面监听
			diyPageListen() {
				uni.$on('isokaddid', (data) => {
					this.address_id = data;
					this.yesOrderFunc()
				});
			},
			//注销页面监听
			diyOffPageListen() {
				uni.$off('isokaddid');
			}
		}
	};
</script>
<style lang="scss" scoped>
	.select_coupon {
		// width: 136rpx;
		padding: 0 10rpx 0 0;
		height: 38rpx;
		background: linear-gradient(180deg, #FDD3D3 0%, #FFDEDE 100%);
		border-radius: 8rpx;
		margin: 0rpx 0rpx 0rpx auto;
		display: flex;
		align-items: center;
		color: #EA3D1A;
		font-size: 22rpx;
		image {
			width: 40rpx;
			height: 38rpx;
			margin-right: 6rpx;
		}
	}
	.reserve_phone {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0rpx 0rpx 24rpx 0;
		border-bottom: 1rpx solid #eee;
		margin: 0 32rpx;

		.reserve_phone_left {
			font-size: 28rpx;
			font-weight: 500;
		}

		.reserve_phone_right {
			font-size: 28rpx;
			font-weight: bold;
			display: flex;
			align-items: center;
			.reserve_phone_right_input {
				text-align: right;
				height: 100%;
				font-size: 28rpx;
			}
			image {
				width: 28rpx;
				height: 26rpx;
				margin-left: 16rpx;
			}
		}
	}

	.agreement_view {
		display: flex;
		align-items: center;
		font-size: 22rpx;
		color: #666666;
		margin: 24rpx 32rpx 0;

		image {
			width: 28rpx;
			height: 28rpx;
			margin-right: 8rpx;
		}

		.agreement_text {
			color: #59A6F4;
		}
	}

	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background-size: 100% auto;
		background-color: #f8f8f8;
	}

	.cartBilling_flex_0 {
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background: #fff;
		background-size: 100% auto !important;
	}

	.cartBilling_fd0_0_c2 {
		width: 36rpx;
	}

	.cartBilling_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 400;
		color: #333333;
	}

	.cartBilling_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
	}

	.cartBilling_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
		background-color: #ffffff;
	}

	.cartBilling_flex_1 {
		padding: 0rpx 0rpx 0rpx 0rpx;
	}

	.cartBilling_fd1_3_c3 {
		background: #F35D2A;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		font-size: 32rpx;
		color: var(--benbenFontColor3);
		width: 280rpx;
		height: 90rpx;
		line-height: 90rpx;
		font-weight: 500;
	}

	.cartBilling_fd1_3_c2 {
		color: #F02325;
		font-weight: 600;
		margin: 0rpx auto 0rpx 0rpx;
	}

	.cartBilling_fd1_3_c1 {
		font-size: 20rpx;
		font-weight: 500;
		color: #F02325;
	}

	.cartBilling_fd1_3_c0 {
		margin: 0rpx 0rpx 0rpx 24rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
	}

	.cartBilling_fd1_3 {
		background: var(--benbenbgColor1);
		width: 750rpx;
		height: 90rpx;
		background-size: 100% auto !important;
		position: fixed;
		left: 0rpx;
		bottom: calc(0rpx + var(--window-bottom));
	}

	.cartBilling_price2_fd1_2_c5_c3 {
		font-size: 22rpx;
		color: #F02325;
	}

	.cartBilling_price1_fd1_2_c5_c3 {
		font-size: 32rpx;
	}

	.cartBilling_fd1_2_c5_c2 {
		font-size: 20rpx;
		font-weight: 500;
		color: #F02325;
	}

	.cartBilling_fd1_2_c5_c1 {
		font-size: 24rpx;
		font-weight: 500;
		color: rgba(102, 102, 102, 1);
	}

	.cartBilling_fd1_2_c5_c0 {
		margin: 0rpx 10rpx 0rpx auto;
		color: #999999;
		font-size: 24rpx;
		font-weight: 500;
	}

	.cartBilling_fd1_2_c5 {
		border-top: 1px solid #eee;
		padding: 24rpx 0rpx 24rpx 0rpx;
	}

	.cartBilling_fd1_2_c3_c1 {
		margin: 0rpx 0rpx 0rpx auto;
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
	}

	.cartBilling_fd1_2_c2_c2 {
		width: 12rpx;
		height: 22rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 12rpx;
	}

	.cartBilling_fd1_2_c2_c1 {
		margin: 0rpx 0rpx 0rpx auto;
		color: #999999;
		font-size: 28rpx;
		font-weight: 400;
	}

	.cartBilling_fd1_2_c1_c2 {
		font-size: 28rpx;
		font-weight: 500;
		color: var(--benbenFontColor0);
	}

	.cartBilling_fd1_2_c1_c1 {
		margin: 0rpx 0rpx 0rpx auto;
		font-size: 28rpx;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
	}

	.cartBilling_fd1_2_c1_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
	}

	.cartBilling_fd1_2_c1 {
		margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.cartBilling_fd1_2_c0_c1_c2_c3 {
		font-size: 24rpx;
		font-weight: 400;
		color: rgba(153, 153, 153, 1);
	}

	.cartBilling_fd1_2_c0_c1_c2_c2 {
		margin: 0rpx 0rpx 0rpx auto;
		font-size: 24rpx;
		font-weight: 400;
		color: rgba(153, 153, 153, 1);
	}

	.cartBilling_price2_fd1_2_c0_c1_c2_c1 {
		font-size: 22rpx;
	}

	.cartBilling_price1_fd1_2_c0_c1_c2_c1 {
		font-size: 34rpx;
	}

	.cartBilling_fd1_2_c0_c1_c2_c1 {
		color: #F02325;
		font-weight: 600;
	}

	.cartBilling_fd1_2_c0_c1_c2_c0_1 {
		font-size: 22rpx;
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
	}

	.cartBilling_fd1_2_c0_c1_c2_c0 {
		font-size: 20rpx;
		font-weight: 700;
		color: var(--benbenFontColor6);
	}

	.cartBilling_fd1_2_c0_c1_c2 {
		margin: auto 0rpx 0rpx 0rpx;
	}

	.cartBilling_fd1_2_c0_c1_c1 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
	}

	.cartBilling_fd1_2_c0_c1_c0 {
		font-size: 28rpx;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
		margin: 0rpx 0rpx 8rpx 0rpx;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.cartBilling_fd1_2_c0_c1 {
		height: 200rpx;
	}

	.cartBilling_fd1_2_c0_c0 {
		width: 200rpx;
		height: 200rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		margin: 0rpx 24rpx 0rpx 0rpx;
	}

	.cartBilling_fd1_2_c0 {
		border-bottom: 1px solid #eee;
		padding: 0rpx 0rpx 32rpx 0rpx;
	}

	.cartBilling_fd1_2 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 32rpx 24rpx 0rpx 24rpx;
		margin: 24rpx;
	}

	.cartBilling_fd1_1_c1_c0 {
		background: url(https://yongzhixing.niurenjianzhan.com/uploads/mini/122.png) no-repeat, transparent;
		height: 6rpx;
		background-size: 100% auto !important;
		margin-top: 38rpx;
	}

	.cartBilling_fd1_1_c0_c2 {
		width: 12rpx;
		height: 22rpx;
		margin: 8rpx 0rpx 0rpx 32rpx;
	}

	.cartBilling_fd1_1_c0_c1_c1_c0_c0_c0 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #666666;
	}

	.cartBilling_fd1_1_c0_c1_c0_c5 {
		line-height: 40rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
		margin: 0rpx 0rpx 0rpx 32rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.cartBilling_fd1_1_c0_c1_c0_c2 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
	}

	.cartBilling_fd1_1_c0_c1_c0_c1 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		// margin: 0rpx 0rpx 0rpx 16rpx;
		// max-width: 200rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.cartBilling_fd1_1_c0_c1_c0_c0 {
		border: 1px solid var(--benbenbdColor8);
		background: var(--benbenbgColor5);
		padding: 0rpx 10rpx 0rpx 10rpx;
		font-size: 24rpx;
		font-weight: 400;
		color: var(--benbenbdColor8);
		background-size: 100% auto !important;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
	}

	.cartBilling_fd1_1_c0_c1_c0 {
		margin: 0rpx 0rpx 16rpx 0rpx;
	}

	.cartBilling_fd1_1_c0_c1 {
		// margin: 0rpx 0rpx 0rpx 32rpx;
	}

	.cartBilling_fd1_1_c0_c0 {
		width: 60rpx;
		height: 60rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.cartBilling_fd1_1_c0 {
		margin: 0rpx 32rpx 32rpx 32rpx;
	}

	.cartBilling_fd1_1 {
		background: #fff;
		background-size: 100% auto !important;
		padding: 32rpx 0rpx 0rpx 0rpx;
	}

	.cartBilling_fd1_0_c1 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		max-width: 200rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.cartBilling_fd1_0_c0 {
		width: 60rpx;
		height: 60rpx;
	}

	.cartBilling_fd1_0 {
		background: #fff;
		background-size: 100% auto !important;
		padding: 32rpx 0rpx 32rpx 0rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.cartBilling_flex_2 {
		background: var(--benbenbgColor1);
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		width: 540rpx;
		padding: 80rpx 24rpx 80rpx 24rpx;
	}

	.cartBilling_fd2_1_c1 {
		background: var(--benbenbgColor7);
		font-size: 24rpx;
		color: var(--benbenFontColor3);
		height: 100rpx;
		padding: 0rpx 18rpx 0rpx 18rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		line-height: 100rpx;
		margin: 0rpx 0rpx 0rpx 20rpx;
	}

	.cartBilling_fd2_1_c0 {
		border: 1px solid var(--benbenbdColor0);
		background: #EEF5F1;
		font-size: 24rpx;
		color: var(--benbenFontColor5);
		height: 100rpx;
		padding: 0rpx 18rpx 0rpx 18rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		line-height: 100rpx;
		margin: 0rpx 20rpx 0rpx 0rpx;
	}

	.cartBilling_fd2_0_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(253, 81, 61, 1);
	}

	.cartBilling_fd2_0 {
		margin: 0rpx 0rpx 46rpx 0rpx;
	}
</style>